package com.gr.blog.mean.service;

import java.util.List;
import java.util.Map;

import com.gr.blog.mean.model.MenuModel;
import com.gr.blog.utils.PageHelperUtils;


/**
 * 菜单操作的service
 * @author:gbp
 * 2017年12月25日 上午11:34:03
 */
public interface MeanService {

	public List<Map<String,Object>> showAllTree(Map<String,Object> menuMap);

	public PageHelperUtils<MenuModel> showALLTreeMenu(String menuName, int page, int start,int limit);

	public List<Map<String,Object>> findFeatherMenu();

	public List<Map<String,Object>> findMenuAndDept();

	public List<MenuModel> showLeftManuDate(Map<String, Object> deptMap);

	public List<MenuModel> showRightManuDate(Map<String, Object> deptMap);

	public List<MenuModel> findMenuDateByUserName(String username);

	public List<Integer> findMenuAndDeptLinkByMenuId(String menuId);

	public int deleteMenuInfoByMenuId(String menuId);

	public List<Map<String, Object>> showSuperAllTree(Map<String, Object> menuMap);

	public int addMenuInfoToDb(Map<String, Object> addmap);

}
